Don't leak the icon source.
authorMatthias Clasen <maclas@gmx.de>
Mon, 9 Aug 2004 04:13:36 +0000 (04:13 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 9 Aug 2004 04:13:36 +0000 (04:13 +0000)
Mon Aug  9 00:13:03 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkaboutdialog.c (icon_set_new_from_pixbufs): Don't
leak the icon source.

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkaboutdialog.c

index 707d708728bb644c9524592e94d8bf5857799236..57a6bca961ed5a1e4157e94b5e00ffbeb81e4243 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Mon Aug  9 00:13:03 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkaboutdialog.c (icon_set_new_from_pixbufs): Don't
+       leak the icon source.
+
 Sun Aug  8 23:46:20 2004  Matthias Clasen  <maclas@gmx.de>
 
        * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
index 707d708728bb644c9524592e94d8bf5857799236..57a6bca961ed5a1e4157e94b5e00ffbeb81e4243 100644 (file)
@@ -1,3 +1,8 @@
+Mon Aug  9 00:13:03 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkaboutdialog.c (icon_set_new_from_pixbufs): Don't
+       leak the icon source.
+
 Sun Aug  8 23:46:20 2004  Matthias Clasen  <maclas@gmx.de>
 
        * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
index 707d708728bb644c9524592e94d8bf5857799236..57a6bca961ed5a1e4157e94b5e00ffbeb81e4243 100644 (file)
@@ -1,3 +1,8 @@
+Mon Aug  9 00:13:03 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkaboutdialog.c (icon_set_new_from_pixbufs): Don't
+       leak the icon source.
+
 Sun Aug  8 23:46:20 2004  Matthias Clasen  <maclas@gmx.de>
 
        * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
index 707d708728bb644c9524592e94d8bf5857799236..57a6bca961ed5a1e4157e94b5e00ffbeb81e4243 100644 (file)
@@ -1,3 +1,8 @@
+Mon Aug  9 00:13:03 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkaboutdialog.c (icon_set_new_from_pixbufs): Don't
+       leak the icon source.
+
 Sun Aug  8 23:46:20 2004  Matthias Clasen  <maclas@gmx.de>
 
        * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
index 9878f986f67cd3d1fdc14d6ea54b402d1ea0266d..f5f342b1d4f1708ee5f3c21db1efe0d9d475e3c2 100644 (file)
@@ -1225,6 +1225,7 @@ icon_set_new_from_pixbufs (GList *pixbufs)
       GtkIconSource *icon_source = gtk_icon_source_new ();
       gtk_icon_source_set_pixbuf (icon_source, pixbuf);
       gtk_icon_set_add_source (icon_set, icon_source);
+      gtk_icon_source_free (icon_source);
     }
   
   return icon_set;